package org.jshand.boot;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * 项目：      springboot
 * 类名:       MyFilter
 * 创建时间：  2024/3/28 12：24
 * 描述 :
 * 作者 :     张金山
 * QQ :     314649444
 * Site:      https://jshand.gitee.io
 */
// @WebFilter("/*")
public class MyFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("Filter过滤");
        filterChain.doFilter(servletRequest, servletResponse);
    }
}
